package com.teemo.dp.flyweight.demo2;

/**
 * @author Teemo
 */
public class BlackPiece extends Piece{

    public BlackPiece() {
        System.out.println("创建黑棋");
    }
    @Override
    public String getColor() {
        return "black";
    }
}
